package com.xiongtian.springframework.beans.factory;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-04-01  10:56
 * @Version: 1.0
 * @Description: 销毁接口
 */

public interface DisposableBean {


    /**
     * 销毁方法
     * Bean 处理了属性填充后调用
     * 相当于xml配置的destroy-method
     *
     * @throws Exception 异常
     **/
    void destroy() throws Exception;
}
